<script>
export default {
	onLaunch: function () {
		this.getToken();
	},
	onShow: function () {},
	onHide: function () {},
	methods: {
		getToken() {
			let params = new URLSearchParams(window.location.search);
			uni.setStorageSync('openid', params.get('openid'));
		}
	}
};
</script>
<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import '@/static/css/style.scss';
@import '@/static/css/iconfont.css';
@import '@/uni_modules/uview-ui/index.scss';
.body {
	background-color: #f5f7fa;
	min-height: 100vh;
}
</style>
